package com.ktjiaoyu.ch01_hello.service;

import com.ktjiaoyu.ch01_hello.pojo.User;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.Map;

public interface UserService {

    public Page<User> findPageByMap(Map<String,Object> param, Pageable pageable);

    //测试缓存
    public User findById(Long usrId);
}
